package com.effectivcrm.domain

import groovy.transform.ToString

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.data.mongodb.core.mapping.DBRef;

@ToString
class Lead extends BaseDocument{
	String salutation;	
	String firstName;	
	String middleName;
	@NotEmpty
	String lastName;
	
	String company;
	String industry;
	Long annualRevenue;
	
	String title;
	int noOfEmployees;
	String website;
	
	
	
	String phone;
	String mobile;
	String fax;
	
	@Email
	String email;
	
	@Email
	String alternateEmail;
	
	String skyPe;
	
	String twitter;
	
	Address address;
	
	
	
	String campaign;
	
	@DBRef
	String source;
	@DBRef
	String status;
	@DBRef
	String rating;
	
	boolean converted;
	
	
	
	String description;
	String priority;
	
	
	
	
	
	
	
	/*
	User assignedUser;
	Team assignedTeam;

	
	*/
	
	
}
